package com.atgion.manager.service;

import com.atgion.spzx.model.entity.system.SysUserRole;
import com.atgion.spzx.model.vo.base.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysUserRoleService  extends IService<SysUserRole> {

    /**
     * 绑定用户角色
     *
     * @param roleCodes 角色code集合
     * @param userId 用户Id
     * @return boolean
     */
    Result<Boolean> bindingUserRoles(List<String> roleCodes, Long userId);

}